package com.geor.gcv.core.model;

import java.util.List;

/**
 * 预处理参数
 * 
 * @author lusongnan
 *
 */
public class Param {
	private List<Integer> blockSizes;
	private List<Integer> constValues;
	private int min;
	private int max;
	private double times;
	private float percentage;

	private int blockSize;
	private int constVal;
	private int cannyVal;
	private int cannyMax;
	private int cannyMin;

	public List<Integer> getBlockSizes() {
		return blockSizes;
	}

	public void setBlockSizes(List<Integer> blockSizes) {
		this.blockSizes = blockSizes;
	}

	public List<Integer> getConstValues() {
		return constValues;
	}

	public void setConstValues(List<Integer> constValues) {
		this.constValues = constValues;
	}

	public int getMin() {
		return min;
	}

	public void setMin(int min) {
		this.min = min;
	}

	public int getMax() {
		return max;
	}

	public void setMax(int max) {
		this.max = max;
	}

	public double getTimes() {
		return times;
	}

	public void setTimes(double times) {
		this.times = times;
	}

	public float getPercentage() {
		return percentage;
	}

	public void setPercentage(float percentage) {
		this.percentage = percentage;
	}

	@Override
	public String toString() {
		StringBuffer buffer = new StringBuffer();
		buffer.append("balckSizes:" + blockSizes).append("\n");
		buffer.append("constValues:" + constValues).append("\n");
		buffer.append("min:" + min).append("\n");
		buffer.append("max:" + max).append("\n");
		buffer.append("times:" + times).append("\n");
		buffer.append("percentage:" + percentage).append("\n");
		buffer.append("blockSize:" + blockSize).append("\n");
		buffer.append("constVal:" + constVal).append("\n");
		buffer.append("cannyCal:" + cannyVal).append("\n");
		buffer.append("cannyMax:" + cannyMax).append("\n");
		buffer.append("cannyMin:" + cannyMin).append("\n");

		return buffer.toString();
	}

	public void setBlockSize(int blockSize) {
		this.blockSize = blockSize;
	}

	public int getBlockSize() {
		return blockSize;
	}

	public void setConstVal(int constVal) {
		this.constVal = constVal;
	}

	public int getConstVal() {
		return constVal;
	}

	public int getCannyVal() {
		return cannyVal;
	}

	public void setCannyVal(int cannyVal) {
		this.cannyVal = cannyVal;
	}

	public void setCannyMax(int cannyMax) {
		this.cannyMax = cannyMax;
	}

	public void setCannyMin(int cannyMin) {
		this.cannyMin = cannyMin;
	}

	public int getCannyMax() {
		return cannyMax;
	}

	public int getCannyMin() {
		return cannyMin;
	}

}
